<extend name="Public:template" />
<block name="page_header">
</block>
<block name="page_body">
<!-- 个人中心页面  -->
<header class="headerSub clearfix">
    <h2>我的小屋</h2>
    <a href="#" class="shoppingBtn leftBtn" onClick="javascript:window.history.back(-1);return false;">返回上页</a>
    <notempty name="Think.session.SES_CUST_ID">
		<a href="{:U('CustPassport/doLogout')}" class="rightBtn yellowNorBg" >退出登录</a>
	<else/>
		<a href="{:U('CustPassport/index')}" class="rightBtn greenNorBg" >立即登录</a>
	</notempty>
</header>
<div class="content">
	<div class="longBtnGroup">
		<ul>
	   		<li><a href="{:U('Cart/index')}" class="linkBtn yellowGraBg">我的购物车<em>({:getcnt_cartitem()})</em><span> → </span></a></li>
	   		<li><a href="{:U('CustOrder/index')}" class="linkBtn yellowGraBg">收藏的商品<em></em><span> → </span></a></li>
		</ul>
	</div>
	
	<div class="longBtnGroup">
		<ul>
	   		<li><a href="{:U('CustOrder/index')}" class="linkBtn blueGraBg">处理中订单<em></em><span> → </span></a></li>
	   		<li><a href="{:U('CustOrder/index',array('is_history'=>1))}" class="linkBtn blueGraBg" >已完成订单<em></em><span> → </span></a></li>
		</ul>
	</div>
	
	<div class="longBtnGroup">
	<ul>
   		<li>
   			<a href="{:U('CustAddress/index')}" class="linkBtn greenGraBg">
   				<if condition="$cust.addressCnt eq 0">
   				添加配送地址<span> → </span>
   				<else/>
   				配送地址管理<span> → </span>
   				</if>
   			</a>
	   	</li>
   		<li><a href="{:U('CustPassport/showUpd')}" class="linkBtn greenGraBg">完善个人信息<span class="greyRightArrow"> → </span></a></li>
		<li><a href="{:U('CustPassport/showChgpwd')}" class="linkBtn greenGraBg">修改登录密码<span class="greyRightArrow"> → </span></a></li>
	</ul>
	</div>
</div>
</block>
<block name="script_footer">
<script type="text/javascript">
$(document).ready(function(){

})
</script>
</block>